计算机与现代化 ›› 2012, Vol. 1 ›› Issue (6): 204-207,.doi: 10.3969/j.issn.1006-2475.2012.06.054

• 应用与开发 • 上一篇    下一篇

Word邮件合并在VB编程中的应用

朱克武   

  1. 广东食品药品职业学院,广东 广州 510520
  • 收稿日期:2011-12-23 修回日期:1900-01-01 出版日期:2012-06-14 发布日期:2012-06-14

Application of MailMerge of Word in Visual Basic

ZHU Ke-wu   

  1. Guangdong Food and Drug Vocational College, Guangzhou 510520, China
  • Received:2011-12-23 Revised:1900-01-01 Online:2012-06-14 Published:2012-06-14

摘要: 利用Visual Basic分析Word中的邮件合并对象,通过对邮件合并属性和方法的研究,找到该对象不同属性的数值,主要包括数据源、数据域、文档类型等内容。将它们与Access数据库相结合,在开发的Office改卷系统中,程序能够对打开的文档进行邮件合并判断,实现了自动改卷的功能。

关键词: 邮件合并, 数据源, 数据域, Access

Abstract: The object of MailMerge of Word is analyzed in Visual Basic. The property values, including DataSource, DataFields and MailDocumentType, are found by researching the property and methods of MailMerge. By combining both the property values of MailMerge and Access database, Office Grading system can automatically judge MailMerge of document, and realizes the function of automatic grading.

Key words: MailMerge, DataSource, DataFields, Access

中图分类号: